<table class="table table-bordered  table-hover">
<thead class="flip-content bordered-palegreen">
<tr>
    <th width="120">商品ID</th>
    <th>商品名</th>
    <th width="120">单位</th>
    <th width="60">上架</th>
    <th width="80">操作</th>
</tr>
</thead>
<tbody>
{volist name="data.list" id="vo" }
    <tr>
      	<td>{$vo.goods_id}</td>
        <td>{$vo.goods_name}</td>
        <td>{$goodsUnit[$vo['unit']]['name']}</td>
        <td align="center"><a href="javascript:;" class="{$vo.isputaway|tplckval='=1','active'}" ><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a></td>
        <td align="center">
            <a href="{:url('info',array('id'=>$vo['id']))}"  title="编辑" class="fa fa-edit m-xs" ></a>
        </td>
    </tr>
{/volist}
</tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}